
<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
</head>
<body>

   <h1>显示员工的信息</h1>
   <hr>
    <table class="layui-table">
           <tr>
               <td>员工编号</td>
               <td>员工姓名</td>
               <td>操作</td>
           </tr>
           <c:forEach items="${datas}" var="emp">
               <tr>
                   <td>${emp.id}</td>
                   <td>${emp.name}</td>
                   <td>
                       <a  href="../vip/get" class="layui-btn">查询详细</a>
                       <a href="../vip/update"  class="layui-btn layui-btn-primary">修改信息</a>
                       <a href="../vip/del"  class="layui-btn layui-btn-danger" onclick="return window.confirm('你确定要删除吗？')" >删除信息</a>
                   </td>
               </tr>
           </c:forEach>

    </table>

</body>
</html>
